<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>grade</title>
</head>
<body>
    <h1>班级</h1>
    <a href="/app/addgrade/">新增班级</a>
    <table border>
        <tr>
            <th>班级id</th>
            <th>班级名称</th>
        </tr>
        {% for grade in params %}
        <tr>
            <td>{grade.id}</td>
            <td>{grade.gname}</td>
        </tr>
        {% endfor %}
    </table>

</body>
</html>